package com.wsit.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;




@Data
@AllArgsConstructor
@NoArgsConstructor
/**
 * 订单实体类
 */
public class Order {
    private Integer id;//订单id
    private String userId;//用户id
    private String dogQzID;//宠物编号
    //设置时间字段格式
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime; //创建时间
    //状态
    private String status;

}
